package com.zjitc.service;

import com.zjitc.po.Country;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/26 14:09
 * @description:
 */
public interface CountryService {

  /**
   * find all of the country item in the db
   *
   * @return list of countries
   */
  List<Country> findAllCountries();

  /**
   * find the counties at startPage = @start, the count of countries equal @count
   *
   * @param start start page number
   * @param count count of country
   *
   * @return list of counties
   */
  List<Country> findCountries(int start, int count);
}
